package com.gitee.xmhzzz.device.service.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @ClassName Event
 * @Description
 * @Author wzq
 * @Date 2024/5/23 18:09
 * @Version 1.0
 */


@Data
public class Event {

    @Schema(description = "事件唯一标识符")
    private String identifier;

    @Schema(description = "事件名称")
    private String name;

    @Schema(description = "事件描述")
    private String desc;

    @Schema(description = "是否是标准功能的必选服务：是（true），否（false）")
    private Boolean required;

    @Schema(description = "事件类型（info、alert、error）")
    private String type;

    @Schema(description = "设备上报事件参数")
    private List<Param> outputData;

    @Schema(description = "事件对应的方法名称")
    private String method;
}
